package com.idanchuang.user.count.service.api.request.query;

import javax.validation.constraints.NotNull;

/**
 * @author Richard_yyf
 * @version 1.0 2021/6/10
 */
public class BaseUserCountQuery {

    /**
     * 业务场景标识
     * 服务接入时，由计数服务根据计数业务场景分配
     * 要在计数服务注册过的bizCode，否则调用会失败
     */
    @NotNull
    private String bizCode;

    /**
     * 用户code
     */
    @NotNull
    private Integer userCode;


    public String getBizCode() {
        return bizCode;
    }

    public void setBizCode(String bizCode) {
        this.bizCode = bizCode;
    }

    public Integer getUserCode() {
        return userCode;
    }

    public void setUserCode(Integer userCode) {
        this.userCode = userCode;
    }

    @Override
    public String toString() {
        return "BaseUserCountQuery{" +
                "bizCode='" + bizCode + '\'' +
                ", userCode=" + userCode +
                '}';
    }
}
